package com.xmx.entity;

import java.util.Date;

/**
 * 描述：
 * 作者：bihui
 * 时间：2023年04月24日 16:29
 */

public class Chances {
    private Integer chanId;          //编号
    private String chanName;        //客户名称
    private Integer chanRate;       //成功几率(0-100之间的数字)
    private String chanLinkMan;     //联系人
    private String chanLinkTel;     //联系电话
    private String chanTitle;       //概要
    private String chanDesc;        //机会描述
    private Integer chanCreateMan;  //创建，对应users表的编号
    private String chanCreateDate;    //创建时间
    private Integer chanDueMan;     //指派人，对应users表的编号
    private String chanDueDate;       //指派时间
    private Integer chanState;      //销售机会状态，1=未指派,创建销售机会时的状态,2=开发中，当分配了指派人后，修改为该状态,3=开发成功,4=开发失败
    private String chanError;       //当状态为开发失败时，需要填写失败原因

    public Integer getChanId() {
        return chanId;
    }

    public void setChanId(Integer chanId) {
        this.chanId = chanId;
    }

    public String getChanName() {
        return chanName;
    }

    public void setChanName(String chanName) {
        this.chanName = chanName;
    }

    public Integer getChanRate() {
        return chanRate;
    }

    public void setChanRate(Integer chanRate) {
        this.chanRate = chanRate;
    }

    public String getChanLinkMan() {
        return chanLinkMan;
    }

    public void setChanLinkMan(String chanLinkMan) {
        this.chanLinkMan = chanLinkMan;
    }

    public String getChanLinkTel() {
        return chanLinkTel;
    }

    public void setChanLinkTel(String chanLinkTel) {
        this.chanLinkTel = chanLinkTel;
    }

    public String getChanTitle() {
        return chanTitle;
    }

    public void setChanTitle(String chanTitle) {
        this.chanTitle = chanTitle;
    }

    public String getChanDesc() {
        return chanDesc;
    }

    public void setChanDesc(String chanDesc) {
        this.chanDesc = chanDesc;
    }

    public Integer getChanCreateMan() {
        return chanCreateMan;
    }

    public void setChanCreateMan(Integer chanCreateMan) {
        this.chanCreateMan = chanCreateMan;
    }

    public String getChanCreateDate() {
        return chanCreateDate;
    }

    public void setChanCreateDate(String chanCreateDate) {
        this.chanCreateDate = chanCreateDate;
    }

    public Integer getChanDueMan() {
        return chanDueMan;
    }

    public void setChanDueMan(Integer chanDueMan) {
        this.chanDueMan = chanDueMan;
    }

    public String getChanDueDate() {
        return chanDueDate;
    }

    public void setChanDueDate(String chanDueDate) {
        this.chanDueDate = chanDueDate;
    }

    public Integer getChanState() {
        return chanState;
    }

    public void setChanState(Integer chanState) {
        this.chanState = chanState;
    }

    public String getChanError() {
        return chanError;
    }

    public void setChanError(String chanError) {
        this.chanError = chanError;
    }

    @Override
    public String toString() {
        return "Chances{" +
                "chanId=" + chanId +
                ", chanName='" + chanName + '\'' +
                ", chanRate=" + chanRate +
                ", chanLinkMan='" + chanLinkMan + '\'' +
                ", chanLinkTel='" + chanLinkTel + '\'' +
                ", chanTitle='" + chanTitle + '\'' +
                ", chanDesc='" + chanDesc + '\'' +
                ", chanCreateMan=" + chanCreateMan +
                ", chanCreateDate=" + chanCreateDate +
                ", chanDueMan=" + chanDueMan +
                ", chanDueDate=" + chanDueDate +
                ", chanState=" + chanState +
                ", chanError='" + chanError + '\'' +
                '}';
    }

    public Chances() {
    }

    public Chances(Integer chanId, String chanName, Integer chanRate, String chanLinkMan, String chanLinkTel, String chanTitle, String chanDesc, Integer chanCreateMan, String chanCreateDate, Integer chanDueMan, String chanDueDate, Integer chanState, String chanError) {
        this.chanId = chanId;
        this.chanName = chanName;
        this.chanRate = chanRate;
        this.chanLinkMan = chanLinkMan;
        this.chanLinkTel = chanLinkTel;
        this.chanTitle = chanTitle;
        this.chanDesc = chanDesc;
        this.chanCreateMan = chanCreateMan;
        this.chanCreateDate = chanCreateDate;
        this.chanDueMan = chanDueMan;
        this.chanDueDate = chanDueDate;
        this.chanState = chanState;
        this.chanError = chanError;
    }
}
